<%--
  Created by IntelliJ IDEA.
  User: landeqing
  Date: 2017/12/25
  Time: 15:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
    <title>收货地址列表</title>
</head>
<body>
<table border="1">
    <tr>
        <td>收货人</td>
        <td>手机号</td>
        <td>所在地区</td>
        <td>详细地址</td>
        <td>操作</td>
    </tr>

     <c:forEach items="${list}" var="obj">
    <tr>
         <td>${obj.userName}</td>
         <td>${obj.phone}</td>
         <td>${obj.provinceName}${obj.cityName}${obj.countyName}</td>
         <td>${obj.address}</td>
        <td><a href="/orderAddress/toUpdate?id=${obj.id}">修改</a>&nbsp;&nbsp;
            <a href="/orderAddress/delete?id=${obj.id}">删除</a></td>
    </tr>
     </c:forEach><br/>

</table>
</body>
</html>
